import React, { Component } from 'react';
import { Row, Col } from 'antd';
import Header from './components/Header';
import Footer from './components/Footer';
import NavLeft from './components/NavLeft';
import './style/common.less';

class Admin extends Component {
	
	render(){
		return (
			<Row className="container">
				<Col span="6" className="nav-left">
					<NavLeft/>
				</Col>
				<Col span="18" className="main">
					<Header/>
					<Row className="content">
						{this.props.children}
					</Row>
					<Footer/>
				</Col>
			</Row>
		)
	}
}

export default Admin;